<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/all.min.css" integrity="sha512-KfkfwYDsLkIlwQp6LFnl8zNdLGxu9YAA1QvwINks4PhcElQSvqcyVLLD9aMhXd13uQjoXtEKNosOWaZqXgel0g==" crossorigin="anonymous" referrerpolicy="no-referrer" />
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/fontawesome.min.css" integrity="sha512-xX2rYBFJSj86W54Fyv1de80DWBq7zYLn2z0I9bIhQG+rxIF6XVJUpdGnsNHWRa6AvP89vtFupEPDP8eZAtu9qA==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<!--    <link rel="stylesheet" href="../static/css/style.css" />-->
    <link rel="stylesheet" th:href="@{/css/style.css}" />
    <title>Login/Signup page</title>
  </head>
  <body>
    <h2>登 录/ 注 册</h2>
    <div class="container" id="container">
      <div class="form-container sign-up-container">
        <form action="">
          <h1>注册 账号</h1>
          <div class="social-container">
            <a href="#"><i class="fab fa-facebook-f"></i></a>
            <a href="#"> <i class="fab fa-google-plus-g"></i> </a>
            <a href="#"><i class="fab fa-linkedin-in"></i></a>
          </div>
          <span>or use your email for registration</span>
          <input type="text" placeholder="Name"></input>
          <input type="email" placeholder="Email / Phone"></input>
          <input type="password" placeholder="Password"></input>
          <button>注 册</button>
        </form>
      </div>
      <div class="form-container sign-in-container">
        <form th:action="@{/b}" method="post">
          <h1>登 录</h1>
          <div class="social-container">
            <a href="#"><i class="fab fa-facebook-f"></i></a>
            <a href="#"> <i class="fab fa-google-plus-g"></i> </a>
            <a href="#"><i class="fab fa-linkedin-in"></i></a>
          </div>
          <span>or use your account</span>
          <input type="email" name="account" placeholder="Email / Phone" />
          <input type="password" name="password" placeholder="Password" />
          <a href="#">Forgot your password?</a>
          <input type="submit" value="登 录"/>
        </form>
      </div>
      <div class="overlay-container">
        <div class="overlay">
          <div class="overlay-panel overlay-left">
            <h1>欢迎您新朋友!</h1>
            <p>
              To keep connected with us please login with your personal info
            </p>
            <button class="ghost" id="signIn">去登录</button>
          </div>
          <div class="overlay-panel overlay-right">
            <h1>Hello,朋友!</h1>
            <p>Enter your personal details and start journey with us</p>
            <button class="ghost" id="signUp">去注册</button>
          </div>
        </div>
      </div>
    </div>
    <footer>
      <p>
        Created with<i class="fa fa-heart"></i>by
        <a href="https://user.qzone.qq.com/2162862955?source=panelstar" target="_blank">雾里有果橙</a>
      </p>
    </footer>

<!--    <script src="../static/js/script.js"></script>-->
    <script th:src="@{/js/script.js}"></script>
  </body>
</html>